package org.jeecg.modules.finan.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.finan.entity.FinanTenderInfo;
import org.jeecg.modules.finan.mapper.FinanTenderInfoMapper;
import org.jeecg.modules.finan.service.IFinanTenderInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 标段信息表
 * @Author: jeecg-boot
 * @Date:   2021-02-27
 * @Version: V1.0
 */
@Service
public class FinanTenderInfoServiceImpl extends ServiceImpl<FinanTenderInfoMapper, FinanTenderInfo> implements IFinanTenderInfoService {

    @Resource
    private FinanTenderInfoMapper finanTenderInfoMapper;

    @Override
    public IPage<FinanTenderInfo> selectFinanTenderInfoList(Page<FinanTenderInfo> page) {
        List<FinanTenderInfo> list = finanTenderInfoMapper.selectFinanTenderInfoList(page);
        page.setRecords(list);
        return page;
    }
}
